{%extends "base.xhtml"%}
{% load i18n %}
{% load ham %}
{%block content%}
	<table>
	<thead>
		<tr><td>{%trans "name"%}</td><td>{%trans "points"%}</td></tr>
	</thead>
	<tbody>
	{%for contest in objects%}
		<tr><td><a href="{%href "pacs.views.show_contest" contest_id=contest.id%}">{{contest|get_name:LANGUAGE_CODE}}</a></td><td>{{contest.maxPoints}}</td></tr>
	{%endfor%}
	</tbody>
	</table>
	{%if prev_page%}
	<a href="{%href "" page=prev_page%}">Prev</a>
	{%endif%}
	{{page}}/{{page_count}}
	{%if next_page%}
	<a href="{%href "" page=next_page%}">Next</a>
	{%endif%}
{%endblock%}
